to an algorithm that classifies the signal every 30 seconds (epochs) into one of four stages: Awake, REM sleep, Deep sleep, or Core sleep. This classificati...
https://www.apple.com/healthcare/docs/site/Estimating_Sleep_Stages_from_Apple_Watch_Sept_2023.pdf